package io.common.dao;


import io.common.entity.AdoptionEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 领养表
 *
 * @author BS #
 * @since 1.0.0 2024-04-23
 */
@Mapper
public interface AdoptionDao extends BaseDao<AdoptionEntity> {



    @Select("SELECT city from tb_adoption GROUP BY city")
    List<String> getCity();

}